<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<title>上善云图</title>

<style>
.add-dialog{
padding: 10px 0px 0px 75px;
width: 300px;
}
</style>

<div id="examGrid">

</div>
<div id="examToolbar">
	<div>
		<a href="#" class="easyui-linkbutton" onclick="exam.toolbar.showAddDialog();" data-options="
		iconCls:'icon-add',
		plain:true">
			新增考试
		</a>
		
		<a href="#" class="easyui-linkbutton" onclick="exam.toolbar.showUpdateDialog();" data-options="
		iconCls:'icon-edit',
		plain:true">
			修改考试
		</a>
		
		</div>
</div>

<div id="examAddDialog" class="easyui-dialog add-dialog" data-options="
title:'新增考试',
buttons:'#examAddButtons',
closed: true,
onClose:exam.toolbar.resetAddFrom">
	<form id="examAddForm" method="post"  >
	
	<p style="text-align:left">
				<strong>试卷　　ＩＤ：</strong>
					<input type="text"  name="examPaperId" id="examPaperId" class="easyui-validatebox" data-options="
			required:true">
				</p>
		
		<p style="text-align:left">
			<strong>考试开始时间：</strong>
			<input type="text" name="examTimeStart" id="examTimeStart" class="easyui-datetimebox" data-options="
			required:true">
		</p>
		
		<p style="text-align:left">
			<strong>考试结束时间：</strong>
			<input type="text" name="examTimeStop" id="examTimeStop" class="easyui-datetimebox" data-options="
			required:true">
		</p>
		
		<p   style="text-align:left">
			<strong>考试　　教室：</strong>
			<input type="text" name="examClassroom" id="examClassroom" class="easyui-validatebox" data-options="
			required:true">
		</p>
		
		<p style="text-align:left">
			<strong>考　试　者　：</strong>
			<input type="text" name="toUserIds" id="toUserIds" class="easyui-validatebox" data-options="
			required:true">
		</p>
		
		<p style="text-align:left">
			<strong>考试　　班级：</strong>
			<select class="easyui-combobox" name="toClassId" id="toClassId">
				<option value="1">无</option>
			    <option value="2">云图1班</option>
			    <option value="3">云图2班</option>
			    <option value="4">云图3班</option>
			    <option value="5">云图4班</option>
			    <option value="6">云图5班</option>
			    <option value="7">云图6班</option>
			    <option value="8">云图7班</option>
			    <option value="9">云图8班</option>
			   	<option value="10">云图9班</option>
			</select>
		</p>
			
	</form>
</div>
		<div id="examAddButtons" style = "text-align:center">
			<a href="#" onclick="exam.toolbar.add()" class="easyui-linkbutton" data-options="
			iconCls: 'icon-add',
			plain: true">
				新增
			</a>
			<a href="#" onclick="exam.toolbar.hiddenAddDialog();" class="easyui-linkbutton" data-options="
			iconCls: 'icon-redo',
			plain: true">
				取消
			</a>
		</div>
		<div id="examUpdateDialog" class="easyui-dialog add-dialog" data-options="
		buttons:'#examUpdateButtons',
		title:'修改考试',
		closed: true,
		onClose:exam.toolbar.resetUpdateFrom">
			<form id="examUpdateForm" method="post"  >
				<input type="hidden" name="id"/>
				<p>
				<strong>考试开始时间：</strong>
					<input type="text" name="examTimeStart" class="easyui-datetimebox" data-options="
					required:true,
					validType:'examTimeStart'">
				</p>	
				
				<p>
				<strong>考试结束时间：</strong>
					<input type="text" name="examTimeStop" class="easyui-datetimebox" data-options="
					required:true,
					validType:'examTimeStop'">
				</p>
				
				<p>
				<strong>考试　　班级：</strong>
					<input type="text" name="examClassroom" class="easyui-validatebox" data-options="
					required:true,
					validType:'examClassroom'">
				</p>
				
				<p>
				<strong>试卷　　ＩＤ：</strong>
					<input type="text" name="examPaperId" id="examPaperId" class="easyui-validatebox" data-options="
			required:true">
				</p>
				
				<p>
				<strong>考试　　人员：</strong>
					<input type="text" name="toUserIds" class="easyui-validatebox" data-options="
					required:true,
					validType:'toUserIds'">
				</p>
				
				<p>
			<strong>考试　　班级：</strong>
			<select class="easyui-combobox" name="toClassId" id="toClassId">
			    	<option value="1">无</option>
			    <option value="2">云图1班</option>
			    <option value="3">云图2班</option>
			    <option value="4">云图3班</option>
			    <option value="5">云图4班</option>
			    <option value="6">云图5班</option>
			    <option value="7">云图6班</option>
			    <option value="8">云图7班</option>
			    <option value="9">云图8班</option>
			   	<option value="10">云图9班</option>
			</select>
		</p>
			</form>
		</div>
		
		<div id="examUpdateButtons" style = "text-align:center">
			<a href="#" onclick="exam.toolbar.update()" class="easyui-linkbutton" data-options="
			iconCls: 'icon-edit',
			plain: true">
				修改
			</a>
			<a href="#" onclick="exam.toolbar.hiddenUpdateDialog();" class="easyui-linkbutton" data-options="
			iconCls: 'icon-redo',
			plain: true">
				取消
			</a>
		</div>
<script>
window.ctx = "<%=request.getContextPath() %>"
</script>
<script src="<%=request.getContextPath()%>/static/exam/js/exam.js"></script>

